import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
import VueSetupExtend from "vite-plugin-vue-setup-extend";
import eslint from "vite-plugin-eslint";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), VueSetupExtend(), eslint()],

  resolve: {
    alias: {
      "@": path.resolve(__dirname, "src"),
    },
  },
});
